<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 217 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts217p0{position:absolute;left:106px;top:97px;}
 .ts217p1{position:absolute;left:352px;top:97px;}
 .ts217p3{position:absolute;left:665px;top:97px;}
 .ts217p7{position:absolute;left:106px;top:113px;}
 .ts217p8{position:absolute;left:706px;top:1026px;}
 .ts217p9{position:absolute;left:331px;top:1044px;}
 .ts217p13{position:absolute;left:107px;top:146px;}
 .ts217p15{position:absolute;left:353px;top:146px;}
 .ts217p16{position:absolute;left:353px;top:164px;}
 .ts217p17{position:absolute;left:353px;top:182px;}
 .ts217p18{position:absolute;left:353px;top:200px;}
 .ts217p19{position:absolute;left:353px;top:219px;}
 .ts217p20{position:absolute;left:353px;top:237px;}
 .ts217p23{position:absolute;left:353px;top:255px;}
 .ts217p24{position:absolute;left:353px;top:273px;}
 .ts217p25{position:absolute;left:353px;top:292px;}
 .ts217p26{position:absolute;left:353px;top:310px;}
 .ts217p27{position:absolute;left:353px;top:328px;}
 .ts217p28{position:absolute;left:353px;top:347px;}
 .ts217p30{position:absolute;left:353px;top:365px;}
 .ts217p31{position:absolute;left:353px;top:384px;}
 .ts217p32{position:absolute;left:353px;top:402px;}
 .ts217p33{position:absolute;left:353px;top:420px;}
 .ts217p34{position:absolute;left:353px;top:439px;}
 .ts217p36{position:absolute;left:353px;top:457px;}
 .ts217p37{position:absolute;left:353px;top:476px;}
 .ts217p38{position:absolute;left:353px;top:494px;}
 .ts217p39{position:absolute;left:353px;top:512px;}
 .ts217p41{position:absolute;left:353px;top:531px;}
 .ts217p42{position:absolute;left:353px;top:549px;}
 .ts217p43{position:absolute;left:353px;top:568px;}
 .ts217p45{position:absolute;left:353px;top:586px;}
 .ts217p46{position:absolute;left:353px;top:604px;}
 .ts217p47{position:absolute;left:353px;top:623px;}
 .ts217p49{position:absolute;left:353px;top:641px;}
 .ts217p50{position:absolute;left:353px;top:660px;}
 .ts217p52{position:absolute;left:353px;top:678px;}
 .ts217p53{position:absolute;left:353px;top:696px;}
 .ts217p55{position:absolute;left:353px;top:715px;}
 .ts217p56{position:absolute;left:353px;top:733px;}
 .ts217p58{position:absolute;left:353px;top:751px;}

 /* Font Styles */
 .ft0p217{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p217{font-weight:normal;}
 .ft2p217{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p217{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p217{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p217{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft6p217{font-style:normal;font-weight:normal;font-size:16px;font-family:"courier new",courier,monospace;color:#000000;}

 /* Background Style */
 .styleBackground217{position:absolute;left:98px;top:769px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index216.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;217 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index218.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground217><img src="./background217.png" width="637" height="286" border="0" alt=""></div>
<div class=ts217p0><span class="ft0p217"> </span></div>
<div class=ts217p1><span class="ft0p217">Gravitybox Schedule Primer<span class="ft1p217"> </span></span></div>
<div class=ts217p3><span class="ft0p217">Page 215&nbsp; </span></div>
<div class=ts217p7><span class="ft2p217"> </span></div>
<div class=ts217p8><span class="ft3p217"> </span></div>
<div class=ts217p9><span class="ft4p217">1998&#45;2004 Gravitybox Software LLC<span class="ft3p217"> </span></span></div>
<div class=ts217p13><span class="ft5p217">BeforeCopy </span></div>
<div class=ts217p15><span class="ft6p217">Event BeforeCopy(OldAppt As </span></div>
<div class=ts217p16><span class="ft6p217">CScheduleEl, OldApptIndex As Long, </span></div>
<div class=ts217p17><span class="ft6p217">OldMode As ViewModeConstants, NewDate </span></div>
<div class=ts217p18><span class="ft6p217">As Date, NewRoom As String, NewTime As </span></div>
<div class=ts217p19><span class="ft6p217">Date, NewMode As ViewModeConstants, </span></div>
<div class=ts217p20><span class="ft6p217">DoPrompt As Boolean, Cancel As Boolean) </span></div>
<div class=ts217p23><span class="ft5p217"> </span></div>
<div class=ts217p24><span class="ft5p217">BeforeCopy is raised before the user drags a </span></div>
<div class=ts217p25><span class="ft5p217">ScheduleItem to a new location. This happens after </span></div>
<div class=ts217p26><span class="ft5p217">the user drops the item on its new location. The </span></div>
<div class=ts217p27><span class="ft5p217">event provides the appointment and its index in the </span></div>
<div class=ts217p28><span class="ft5p217">ScheduleItems collection. The NewDate, NewRoom, </span></div>
<div class=ts217p30><span class="ft5p217">and NewTime define the position of the new </span></div>
<div class=ts217p31><span class="ft5p217">appointment. Also there are two &#34;By Reference&#34; </span></div>
<div class=ts217p32><span class="ft5p217">parameters that allow you to send information back </span></div>
<div class=ts217p33><span class="ft5p217">to the schedule. &#34;DoPrompt&#34; allows you to display </span></div>
<div class=ts217p34><span class="ft5p217">your own confirmation by canceling the default </span></div>
<div class=ts217p36><span class="ft5p217">prompt. If you do this then the copy will automatically </span></div>
<div class=ts217p37><span class="ft5p217">be confirmed, unless the &#34;Cancel &#34; parameter is set </span></div>
<div class=ts217p38><span class="ft5p217">to False. &#34;Cancel&#34; provides a way for you to cancel a </span></div>
<div class=ts217p39><span class="ft5p217">drag, if desired. </span></div>
<div class=ts217p41><span class="ft5p217"> </span></div>
<div class=ts217p42><span class="ft5p217">The OldMode and Newmode parameters determine </span></div>
<div class=ts217p43><span class="ft5p217">the ViewMode setting of source schedule (OldMode) </span></div>
<div class=ts217p45><span class="ft5p217">and the mode of the target schedule (NewMode). </span></div>
<div class=ts217p46><span class="ft5p217">This allows you cancel a copy between windows if </span></div>
<div class=ts217p47><span class="ft5p217">desired, for example if the modes do not match. </span></div>
<div class=ts217p49><span class="ft5p217"> </span></div>
<div class=ts217p50><span class="ft5p217">Note: </span></div>
<div class=ts217p52><span class="ft5p217">The &#34;OldApptIndex&#34; parameter will be zero if the </span></div>
<div class=ts217p53><span class="ft5p217">user is dragging between schedule windows. This </span></div>
<div class=ts217p55><span class="ft5p217">parameter is only valid when a drag is started and </span></div>
<div class=ts217p56><span class="ft5p217">completed inside the same schedule window. </span></div>
<div class=ts217p58><span class="ft5p217"> </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
